package com.lh.web.dao.admin;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lh.common.entity.admin.OrderAfterSaleLog;
import com.lh.common.entity.admin.OrderLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface OrderAfterSaleLogMapper extends BaseMapper<OrderAfterSaleLog> {

    int insertOrderLog(@Param("userId")Long userId, @Param("afterSaleId")String afterSaleId, @Param("oldStatus")String oldStatus, @Param("newStatus")String newStatus, @Param("remark")String remark);

    List<OrderLog> queryAfterSalesLog(String afterSaleId);
}
